package com.cc.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 获取yaml文件配置
 *
 * @author c.c
 * @Since 2023/4/19
 * @Time 17:25
 * @Description
 */

@Configuration
@ConfigurationProperties
@Data
public class YamlOtherConfiguration {
  @Value("${databasename}")
  private String dataBaseName;

  //临时存储目录
  @Value("${createAddress}")
  private String createAddress;

  @Value("${address}")
  private String address;


}
